package com.gxuwz.easyschool;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;

public class CardTopUpActivity extends AppCompatActivity {
    private ImageView top_up_back;
    private Button top_up_button;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_card_top_up);
        top_up_back = findViewById(R.id.top_up_back);
        top_up_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        top_up_button = findViewById(R.id.top_up_button);
        top_up_button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(CardTopUpActivity.this, CardTopUpPayActivity.class);
                startActivity(intent);
            }
        });
    }
}